import { createApp } from 'vue'
import App from './App.vue'
const app = createApp(App)
import "./assets/css/reset.scss"
import "./assets/css/base.scss"

//引入animate.css
import 'animate.css'

/*注册echarts*/
// 引入echarts
import Echarts from 'vue-echarts'
import * as echarts from 'echarts'
// 使用组件
app.component('e-charts',Echarts)
// 全局挂载 echarts
app.config.globalProperties.$echarts = echarts
/*注册echarts end*/

/*注册elemtn-plus*/
//引入element-plus
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

//element汉化
import locale from 'element-plus/dist/locale/zh-cn.mjs';

app.use(ElementPlus, {locale})

/*注册elemtn-plus end*/


app.mount('#app')